#include<iostream>
#include<string>
#include<iomanip>
using namespace std;
int main() 
{
	double a,b;
	char x;
	cin>>a>>b>>x;
	if(x=='+')
	{
		cout<<setiosflags(ios::fixed)<<setprecision(2)<<a+b<<endl;
	}
	else if(x=='-')
	{
		cout<<setiosflags(ios::fixed)<<setprecision(2)<<a-b<<endl;
    }
	else if(x=='*')
	{
		cout<<setiosflags(ios::fixed)<<setprecision(2)<<a*b<<endl;
    }
    else if(x=='/')
	{
		cout<<setiosflags(ios::fixed)<<setprecision(2)<<a/b<<endl;
    }
    else
	{
    	cout<<endl;
	}
} 